package com.java.cloud.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;


/**
 * 渠道基础信息表
 * 
 * @author greatesky
 * @email greatesky@hotmail.com
 * @date 2019-11-06 15:01:34
 */
@ApiModel(value = "渠道基础信息表")
@Table(name = "sys_channel_info")
@Data
@Accessors(chain = true)
public class SysChannelInfo implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	@Id
	@ApiModelProperty(value = "id")
    private String id;
	
	/**
	 * 渠道名称
	 */
    @Column(name = "channel_name")
	@ApiModelProperty(value = "渠道名称")
    private String channelName;
	
	/**
	 * 渠道与销售区域关联外键
	 */
    @Column(name = "channel_area_id")
	@ApiModelProperty(value = "渠道与销售区域关联外键")
    private String channelAreaId;
	
	/**
	 * 排序
	 */
    @Column(name = "seq")
	@ApiModelProperty(value = "排序")
    private BigDecimal seq;
	
	/**
	 * 渠道等级
	 */
    @Column(name = "levle")
	@ApiModelProperty(value = "渠道等级")
    private String levle;
	
	/**
	 * 渠道父ID
	 */
    @Column(name = "pid")
	@ApiModelProperty(value = "渠道父ID")
    private String pid;
	
	/**
	 * 渠道路径
	 */
    @Column(name = "path")
	@ApiModelProperty(value = "渠道路径")
    private String path;
	
	/**
	 * 状态
	 */
    @Column(name = "status")
	@ApiModelProperty(value = "状态")
    private Integer status;
	
	/**
	 * 创建时间
	 */
    @Column(name = "crt_time")
	@ApiModelProperty(value = "创建时间")
    private Date crtTime;
	
	/**
	 * 创建人ID
	 */
    @Column(name = "crt_user")
	@ApiModelProperty(value = "创建人ID")
    private String crtUser;
	
	/**
	 * 创建人名称
	 */
    @Column(name = "crt_name")
	@ApiModelProperty(value = "创建人名称")
    private String crtName;
	
	/**
	 * 创建人IP
	 */
    @Column(name = "crt_host")
	@ApiModelProperty(value = "创建人IP")
    private String crtHost;
	
	/**
	 * 修改人时间
	 */
    @Column(name = "upd_time")
	@ApiModelProperty(value = "修改人时间")
    private Date updTime;
	
	/**
	 * 修改人ID
	 */
    @Column(name = "upd_user")
	@ApiModelProperty(value = "修改人ID")
    private String updUser;
	
	/**
	 * 修改人姓名
	 */
    @Column(name = "upd_name")
	@ApiModelProperty(value = "修改人姓名")
    private String updName;
	
	/**
	 * 修改人IP
	 */
    @Column(name = "upd_host")
	@ApiModelProperty(value = "修改人IP")
    private String updHost;
	
	/**
	 * 删除人标识，0=未删除，1=删除
	 */
    @Column(name = "del_flag")
	@ApiModelProperty(value = "删除人标识，0=未删除，1=删除")
    private Integer delFlag;
	
}
